home *** CD-ROM | disk | FTP | other *** search
/ AmigActive 10 / AACD 10.iso / AACD / Programming / MuManual / ReadMe < prev    next >
Text File  |  2000-05-04  |  72KB  |  1,662 lines

  1. The mmu.library project © 1998-2000 the mmu.library development group, THOR
  2. -----------------------------------------------------------------------------
  3.  
  4. Release 42.2
  5. ---------------
  6.     
  7.     - The 42.1 release automatically marked all hardware pages as
  8.       cacheinhibited serialized. Looks like even that was too much for
  9.       some hardware boards, I don't know why. This should be the proper
  10.       default anyhow. I disabled this again, even though this means,
  11.       as for 42.0 and before, that a MMU-Configuration is *mandatory*
  12.       if you use the library as "stand-alone" instead on top of a third-
  13.       party 68040/68060 library.
  14.  
  15. Release 42.1
  16. ---------------
  17.  
  18.     - MuFastChip: Forgot to include the latest mmu.library in the latest
  19.       upload. Sorry.
  20.     - Installation: P5Init, PPCIdentify, P5Identify reworked again, it
  21.       enables now explicitly the bus error generation of the A4000
  22.       motherboard resources.
  23.     - Installation Rexx scripts: Added a "NoP5" keyword to disable ex-
  24.       plicitly the P5 identification steps which seem to be problematic
  25.       for some boards for reasons that are beyond me.
  26.     - MuManual: Fixed some typos, corrected some mistakes, clarified some
  27.       formulations. Thanks to Etienne Voigt for proofreading!
  28.     - Organization: The "MMULib" archive is now the user archive, all
  29.       developer information went into the "MuManual" archive, including
  30.       the autodocs, the includes, the bmaps and some example sources.
  31.       This will help to keep the archive short.
  32.     - mmulib: The CurrentContext() function forgot to Forbid() properly.
  33.       Note that you still need a Forbid() bracketing or the result code
  34.       might be pretty useless. The propability that this broke code is
  35.       very low, though.
  36.     - mmulib: GetMappingProperties() was simply broken in V42.0 and below.
  37.       Sorry, this got fixed. This function hasn't been used yet, so this
  38.       bug was left unnoticed.
  39.     - mmulib: Even if "ClearTTX" is missing in the MMU-Configuration, the
  40.       library cache-inhibits now the access to expansion boards. This is
  41.       just a safety bonus.
  42.     - Included a debug version of the library in the MuManual archive.
  43.     - BlizKick: In order to avoid a yellow alert, either BlizKick must be
  44.       modified or must be run behind SetPatch. The reason for the alert
  45.       is that BlizKick opens the mmu.library before the 68060/68040 lib
  46.       is open, which is and never has been legal. I just added an explicit
  47.       check for this condition in V42 because too many people ignored it.
  48.       As I said, "no discussion". This is a side effect of how the library
  49.       works and has to work.
  50.  
  51. Release 42.0
  52. ---------------
  53.  
  54.     - mmu.library: Added more error checking for the startup code, esp.
  55.       the MMU-Configuration file. Added a check for proper config-
  56.       uration, i.e. whether the library was (incorrectly) loaded in
  57.       front of SetPatch.
  58.     - Added a new function: RunOldConfig(). It runs a small supervisor
  59.       routine with the boot MMU configuration.
  60.     - 68040.library: Added an explicit check for correct configuration,
  61.       it will generate a requester in case no 68040 is available.
  62.     - MuGuardianAngel: Fixed a bug in the mung-wall check which could 
  63.       have reported one additional mung-wall damage in case the front 
  64.       wall was found defective. Added a workaround for a possible 
  65.       68060 firmware bug, the "U" bit is now always set in the MMU
  66.       descriptors to avoid unnecessary MMU writebacks.
  67.     - In case you see MuGuardianAngel hits of the z3scsi.device, run
  68.       the FixCybAccess program. It will work around the z3scsi.device 
  69.       hits as well. Thanks, Helmut.
  70.     - MuMove4K PREPAREEMUL moves now the low chip memory end to the
  71.       16K line, not to the 8K line. This might fix some Fusion
  72.       problems. Thanks, Pavel.
  73.     - Improved the error messages of MuFastZero a little bit.
  74.     - Reworked P5Identify and PPCIdentify to make these two more
  75.       stable.
  76.     - Added another external MMU setup command, P5Init. It should 
  77.       keep care about all P5 specific cache settings and should
  78.       setup the PPC and the BOOT-MMU-Port automatically. All manual
  79.       P5 specific entries in the MMU-Configuration except graphic 
  80.       board cachings are obsolete now and should be replaced by
  81.       P5Init.
  82.     - Rewrote both setup scripts to reflect the changes in the P5
  83.       setup logic, i.e. ScanMMUPort has been replaced by P5Init and
  84.       all P5 specific cache settings have been removed.
  85.     - Added stack increasement patches for the mfm.device (CrossDos)
  86.       and IPrefs 40.7 in case you do not yet use Os 3.5. Thanks Gene.
  87.     - Added a fix for two bugs in ramlib. First, its stack is too
  88.       low. Second, it uses SIGF_SINGLE as message bit for its process
  89.       port which could cause some race conditions with semaphores in
  90.       library setup code.
  91.     - The MuGuardianAngel patch report and automatic IRQ check have 
  92.       been reworked a bit. The "patches overwritten" message is now
  93.       no longer periodically generated, but will be suspended up to
  94.       the next "real" hit where another message will be generated.
  95.     - The MuGuardianAngel automatic IRQ stack was not only useless,
  96.       but in fact broken. This does not go for the stack check of the
  97.       exec memory handling functions which was and still is fine.
  98.       Good enough it was recommended to leave the IRQ check disabled. 
  99.       "Nearly out of stack" warnings were not generated by the IRQ code 
  100.       at all, and the stack overflow and stack underflow messages
  101.       usually report "bogus" hits due to its construction. Stack 
  102.       snooping is now by default ENABLED, except for "out of bounds"
  103.       reports, which still requires STACKSNOOP option explicitly.
  104.       Added an option to adjust the minimal stack size for the
  105.       "Nearly out of stack" reports, but it can be made only larger,
  106.       i.e. more "picky".
  107.     - mmu.library: The pre-42 releases only marked the zero page as
  108.       non-blank which might have caused problems for some Mac emu-
  109.       lators. It now marks the lowest 32K as valid. Former versions
  110.       set it to "cacheinhibit", it is now set to "cacheinhibit nonser-
  111.       ialized imprecise".
  112.     - mmu.library: The low-memory limit up to which the mmu.library
  113.       has to software-emulate accesses has been made adjustable.
  114.     - mmu.library: Due to a bug in the high-level mapping list manage-
  115.       ment, MAPP_INDIRECT did not work correctly.
  116.     - mmu.library: BuildIndirect() performs now a few more consistency
  117.       checks and is less restrictive for MAPP_INVALID and MAPP_SWAPPED.
  118.     - Updated the DMAInitiate() function, it provides now a return code
  119.       instead going guru if it doesn't like the parameters.
  120.     - Updated MuOmniSCSIPatch to reflect the changes made to 
  121.       DMAInitiate().
  122.     - Fixed many documentation errors in mmu.doc, updated and checked
  123.       exception.doc again.
  124.     - Included a demo program for indirect descriptor handling.
  125.     - Speedup SetIndirect() somewhat by placing this routine directly
  126.       in the MMU drivers as a "native" operation.
  127.     - Added a new LVO "SetIndirectArray()" to set more than one
  128.       indirect descriptor at once. Should be *very* fast.
  129.     - The startup command "DescriptorCacheInhibit" did not pass a proper
  130.       result code on success and hence caused a yellow alert. This bug
  131.       was only noticable in some of the V42 betas where proper result
  132.       code checking was introduced.
  133.     - mmu.library: WithoutMMU() disables now the CPU caches as well to
  134.       allow a safe access to non-cacheable addresses.
  135.     - MuFastZero: In case MuFastZero is removed (why?) the unmapped chip
  136.       memory is set to IMPRECISE and NONSERIALIZED to provide at least
  137.       a minimal speedup.
  138.     - Added "AmigaGuide" versions of the autodocs.
  139.     - Included a new version of BPPCFix by Frank Wille. Thanks, Frank!
  140.       Using this program will allow you to replace the ROM-based
  141.       libraries of the Blizzard-Boards.
  142.       Thanks Stephen for working this out, and for making this trick
  143.       possible!
  144.     - Included a "RKRM" style manual and tutorial for the MuLib in "dvi"
  145.       and "postscript" format.
  146.  
  147. Release 41.4
  148. ---------------
  149.  
  150.     - mmu.library: The CachePre/PostDMA() functions are now a bit more 
  151.       error tolerant and handle cases where a DMA device attempts DMA 
  152.       transfer to a non-existing memory region more gracefully.
  153.     - 680x0.library: Sets now the memory attributes of the supposed-to-
  154.       be remapped low-memory header to MEMF_FAST instead to 0 to avoid
  155.       a zero return value of TypeOfMem().
  156.     - MuFastZero: Sets now the memory attributes of the supposed-to-
  157.       be remapped low-memory header to MEMF_FAST instead to 0 to avoid
  158.       a zero return value of TypeOfMem(). Lowered the priority of the
  159.       rendezvous port.
  160.     - FastIEEE: Optimized the IEEEDPFloor and IEEESPFloor in case a 060
  161.       processor has been found. Note that this makes currently no
  162.       difference at all since there is currently no 68060.library that
  163.       provides the fpsp.resource.
  164.  
  165.     
  166. Release 41.3
  167. ---------------
  168.  
  169.     - disassembler.library:    fmovem.x <dynamiclist>,memory was disassembled
  170.       incorrectly. Fixed.
  171.     - mmu.library: SetPropertiesMapping() accepts now base=0 and lenght=0
  172.       as a special case to transfer the complete list.
  173.     - 68040.library: Removed some unnecessary strings and references to the
  174.       math libraries. 
  175.     - mmu.library: Added workarounds for possible DMA disable counter under-
  176.       runs that might have happened in case the library gets active while 
  177.       DMA is active. 
  178.     - MuMove4K: Added more options:
  179.       IGNOREVERIFY/S    Disables the verify check for the reboot code
  180.       REVERSE/S        Allocates the memory for the resident tags in
  181.                 reverse direction
  182.       LOWPRI/S        Lowers the priority of the MuMove4K resident 
  183.                 tag as a possible workaround for some wierd 
  184.                 other hacks.
  185.       Added more error messages in case something goes wrong.
  186.     - MuForce: Forgot to restore the Z-page mode and physical location on
  187.       removal. Ooops. Thanks, Heinz!
  188.     - MuFastZero: Added a "FastVBR" option because it was easy to do and
  189.       canonical to have. NOTE THAT THIS OPTION IS NOT REQUIRED IF YOU
  190.       REMAP THE VECTOR BASE ANYHOW.
  191.     - MuGuardianAngel: Prints now the stack boundaries in case of stack 
  192.       problems, let it be overflow, underflow or nearly out of stack. 
  193.       Thanks to Heinz, again.
  194.       Provides an option to disable these warning messages, but beware! 
  195.       This doesn't mean bugs will go away, it just silences MuGuardianAngel.
  196.       Remember, this program is provided to scream upon problems it detects.
  197.     - Setup scripts: Greatly enhanced! The new setup script will also 
  198.       re-set the memory caching modes for boards whose boot-roms already 
  199.       run the MMU. Fixed a minor glinch that produces a (bogus) error report
  200.       in case LIBS:MMU already existed.
  201.       Remember that you can't run the ppc.library on the MuLib setup, sorry.
  202.     - Added a new setup script "ScanToConfig" that takes a "MuScan" output
  203.       from a system running under a third-party 68040/68060.library and 
  204.       generates an MMU-Configuration file from it. To use it, re-install a 
  205.       non-MMU-aware processor library, boot the system, then enter the 
  206.       "Install" directory and run the script. MuScan must be available 
  207.       in the current directory as it is in the archive.
  208.       Please let me know how this new script goes, maybe it's smarter.
  209.     - Added a new program "MemModes" to the installation tools. It will
  210.       auto-generate the memory caching setup as the mmu.library does if
  211.       the MMU is found non-active. Possibly an improvement for those boards
  212.       which - strange enough - turn on the MMU before booting.
  213.     - Added a patch for the new SetPatch in the BoingBag, check the "Fixes"
  214.       directory.
  215.     - Again: When will people finally learn to read the FAQ? *Sigh*
  216.       In case MuFastZero complains "The zero page is already remapped",
  217.       ---> READ THE GUIDE. <---
  218.  
  219.  
  220. Release 41.2.1
  221. ---------------
  222.  
  223.     - Updated the 68040.library to 40.6. It builds now the fpsp.resource
  224.       which offers opcode emulation to external hosts.
  225.     - Included FastIEEE which re-directs the mathieee-library routines to
  226.       the fpsp.resource for optimal performance.
  227.     - FastIEEE fixes, too, some bugs in the mathieee libraries. 
  228.       IEEEDPCmp() is broken and orders some numbers "the wrong way". 
  229.       IEEEDPPow() and IEEESPPow() are broken and return non-sense for 
  230.       special arguments.
  231.  
  232. Release 41.2
  233. ---------------
  234.  
  235.     - The MMU Library build-in AddMem failed in case the base or length
  236.       were not aligned to 64K boundaries. It now rounds to the next 64K
  237.       boarders such that the supplied area is at least mounted partially.
  238.     - The idea to disable the TTx registers in the mmu.library was 
  239.       unfortunately not a very smart idea as it broke the code on some
  240.       machines. Re-established the old rule with the only exception that
  241.       the TTx registers are initialized for the EC040.
  242.     - The ColdReboot() patch of the 68040.library used the MMU registers
  243.       even on a system without MMU. Fixed.
  244.     - MuMove4K checks now all libraries, devices, ports, resources and 
  245.       resident modules whether they violate the 8K boundary.
  246.     - 68040.library: Forgot to disable the caches in ColdReboot().
  247.     - 68040.library: The motorola OpErr handler did not consider tracing
  248.       correctly. Fixed.
  249.     - Finally wrote and included the 68020.library and the 68030.library,
  250.       hence "FPU" will work on these machines.
  251.     - Updated MuGuardianAngel: Added a new keyword "DUMPWALL" that prints
  252.       the contents of a broken mung-wall and of broken memory cookies.
  253.  
  254. Release 41.1
  255. ---------------
  256.  
  257.     - ScanMMUPort was broken and scanned for the wrong port. *Sigh*
  258.       This release should work better on Blizzard boards.
  259.     - AddMemList() uses now RebuildTreesA() to rebuild user and
  260.       supervisor tables at once and is therefore a bit more error
  261.       tolerant.
  262.     - The mmu.library will now support CachePreDMA/CachePostDMA for
  263.       the EC040 and EC060 processors as well.
  264.     - The 68040.library will now disable the TTx registers manually
  265.       such that the "generic" board does no longer require an
  266.       ENVARC:MMU-Configuration file.
  267.     - The 68040.library will now enable copyback caches for the EC040.
  268.     - Some of the MuTools did not unload properly if loaded from the workbench,
  269.       fixed.
  270.     - The MuTools are now a bit more error tolerant due to a new function in the
  271.       V41 mmu.library which gets used.
  272.  
  273. Release 40.60
  274. -------------
  275.  
  276.     - fixed the shutdown code of MGA, thanks to Stephan!
  277.     - disabled a kludge in the mmu.library which write protected 
  278.       a kickstart image at 0x00200000 and up by checking the name 
  279.       of execbase. This kludge might have conflicted with some softkickers.
  280.     - Because people tend not to read guides, I added the 
  281.       arguments "WRITEPROTECTED" and "INVALID" to the library build-in 
  282.       "SetCacheMode". Note that they work different to what "MuSetCacheMode" 
  283.       does. Here, "WRITEPROTECTED" and "INVALID" are just aliases to "ROM" 
  284.       and "BLANK", hence enable the most defensive protection strategy.
  285.     - Added a new LVO "RebuildTreesA" which is "officially" not yet 
  286.       existing and will be documented in V41. More LVOs might be added up 
  287.       to V41, but please *DO NOT* yet call them as they did not exist 
  288.       in V40.50.
  289.     - Fixed the installation script, due to a typo the P5 MMU boot hack 
  290.       was not detected.
  291.     - Fixed the P5Detect program which just looked to the wrong
  292.       identification resources. Ooops. Installation on "non-standard"
  293.       boards should be smoother now.
  294.     - Fixed a bug in the disassembler.library which disassembled the
  295.       lea (offset.L,pc)
  296.       wrong. The offset was wrong by two bytes.
  297.     - The release number in the MuForce guide was wrong. 
  298.     - When will people finally learn to read the FAQ? *Sigh*
  299.       In case MuFastZero complains "The zero page is already remapped",
  300.       ---> READ THE GUIDE. <---
  301.  
  302.  
  303. Release 40.51.1
  304. -------------
  305.  
  306.     - disabled the layers.library kludge for MuGuardianAngel if V40
  307.       is found active. It is luckely no longer required.
  308.  
  309. Release 40.51
  310. -------------
  311.  
  312.     - fixed a bug in the 68060 startup logic which left the MMU disabled
  313.       in case it was disabled before. This made the custom 68060.library
  314.       useless.
  315.     - included the 40.17ß3 release of Carten Schlote's 68060.library
  316.       which (for the first time) makes use of the MMU.library.
  317.  
  318. Installation of this library requires some care as IT DOES NOT automatically
  319. auto-detect P5 hardware and special setup magic for this hardware. This is
  320. not because the library is "broken" in some sense, but because P5 didn't 
  321. follow the CBM guidelines when designing their hardware. Therefore, an
  322. experimental installation script has been written. This script must be
  323. run as follows:
  324.  
  325.     - Unpack the archive to disk,
  326.     - Enter the following commands:
  327.  
  328. cd <MMULib>/Install    ;where <MMULib> is the directory you unpacked this 
  329.             ;archive to
  330.  
  331. SYS:Rexxc/rx BuildMMUConfig.rexx ENVARC:MMU-Configuration
  332.  
  333.     - The last command builds the MMU configuration and writes it
  334.       to ENVARC:MMU-Configuration. It might also copy ScanMMUPort
  335.       to LIBS:MMU. This is an external setup command for the library
  336.       and might or might not be required. Older P5 hardware does *not*
  337.       require it (I would guess that this is explicitly for the 
  338.       Blizzards, but I'm not sure).
  339.       Non-P5 hardware will not require it at all.
  340.       You might want to hand-edit or optimize this script if you need,
  341.       as it will contain several optimizations for graphics cards and
  342.       other known boards.
  343.  
  344.     - KEEP THE OLD 68060.library IN A SAFE PLACE.
  345.     - Make sure to install the 40.51 edition of the mmu.library
  346.     - Copy the 68060.library to LIBS:
  347.     - Reboot the computer and wish the new library luck. (-:
  348.  
  349. This edition of the '060 lib does *not yet* include correct VMM management
  350. and FPU control functions (hence, C:FPU will not yet work). It is shorter
  351. and costs less memory because it leaves the MMU setup to the mmu.library.
  352. (Note that this release contains still debugging information).
  353.  
  354.  
  355. In case the installation failed:
  356.  
  357.     - Make sure the mathieedoubbas.library you're using is truely the
  358.       official 38.x or the patched and bugfixed 39.1. Some other third-
  359.       party products may fail to work correctly if the 68060 support
  360.       code is not yet loaded.
  361.  
  362. In case running the library fails (i.e. system doesn't boot):
  363.  
  364.     - Make sure LIBS:mmu/ScanMMUPort is really available at boot-up
  365.     - Please re-boot the computer without the startup-sequence,
  366.     - Keep ENVARC:MMU-Configuration in a safe place,
  367.     - Re-install the old 68060.library.
  368.     - Boot the computer again,
  369.     - Run "MuScan" and keep the output.
  370.  
  371. Then, please sent me the output of MuScan, and the ENVARC:MMU-Configuration
  372. file with a tiny note what exactly happened (or did not happen).
  373.  
  374.  
  375. Release 40.50
  376. --------------
  377.  
  378.     - added external command scanning in case a setup command is
  379.       not found "resident".
  380.     - included Richard Körber's PatchWork and Olaf Barthel's
  381.       Sashimi. The "PatchWork" edition is *NEW* and *NOT YET AVAILABLE*
  382.       otherwise. Big "thank you" to Richard for updating it for this
  383.       archive. Big thanks to Olaf Barthel for allowing me to include
  384.       his "Sashimi" in the archive.
  385.     - bumped the version number.
  386.     - Final release.
  387.  
  388. Release 0.48
  389. --------------
  390.     - mmu.library: Added a new command in the MMU-Configuration file,
  391.       "DescriptorCacheInhibit". It controls whether the MMU library
  392.       should disable the data cache for the descriptors. This is by
  393.       default OFF as this feature means more trouble for the library,
  394.       and is not required for using the library. However, this might
  395.       be a workaround for programs that hack the MMU table themselves,
  396.       which is not supported anyhow. Set it to "ON" if you MUST use
  397.       these programs.
  398.     - Added another VMM support function.
  399.     - MuGuardianAngel: The "memory header" output was broken, fixed.
  400.       Added more security checks, MuGuardianAngel will warn you in
  401.       case its function entries have been patched (which is not 
  402.       supported)
  403.     - MuGuardianAngel: Added automatic stack checking within the
  404.       memory allocation functions - an overrun stack seems to be the
  405.       most common source of MuGuardianAngel problems. MuGuardianAngel
  406.       will now detect an "nearly out of stack" condition in the memory
  407.       handling, and will provide an "emergency" stack in case this
  408.       happens. It will then generate a warning, regardless of whether    
  409.       stack snooping is enabled or not.
  410.       Interestingly, the RAM-Handler and the FastFilingSystem are the
  411.       most common sources of stack-overflows. This should be fixed for 
  412.       the RAM handler with "PatchRAM" in this archive, the FFS stack
  413.       should be added manually in the RDB, though. The smallest re-
  414.       commended stack size is 786 bytes, not less!
  415.     - P96: (yes, you read this correctly) supports now the mmu.lib if
  416.       it is available.
  417.     - Added an experimental GfxCard setup program to optimize cacheing.
  418.       This function is included in P96 anyhow, so not really required.
  419.  
  420.     - mmu.library: MOVE16 is now "sort of" supported, in the sense that
  421.       the exception handler will be able to handle it. However:
  422.       - MOVE16 is not supported by all Amiga hardware, it may crash,
  423.       - A MOVE16 on a 68040 is potentially dangerous due to a bug in
  424.         the CPU. A MOVE16 might invalidate cache lines which are not
  425.         related to the MOVE16 operation at all. There is currently a
  426.         workaround for this, namely: Do not set the "imprecise", or
  427.         "user page" bits 0-3 for swapped, invalid or supervisor only
  428.         pages. I do not guarantee that this workaround will remain
  429.         valid. *JUST DON'T USE MOVE16.*
  430.       - A MOVE16 may cause double reads, do not use this to read from
  431.         hardware registers that cannot tolerate this. Do NOT use it
  432.         at all!
  433.       - A MOVE16 which causes the exception handler to enter may be
  434.         completed by means of ordinary writes, which means that in
  435.         this situation no burst access is used, and the order of the    
  436.         data written out or read might be different from that of a
  437.         true MOVE16. *JUST DO NOT USE IT, OK!*
  438.  
  439.     - mmu.library: On read/modify/write accesses, the library might
  440.       have reported a write protection fault instead of a simple 
  441.       write fault on the write cycle of the instruction. Fixed.
  442.  
  443.     - MuGuardianAngel: Added more consistency checks, added checks
  444.       and support for memory pools, made some error messages more
  445.       informative.
  446.  
  447.     - MuMove4K: Added the NOREBOOT option to avoid unnecessary reboots
  448.       if the system is rebooted by a second program afterwards anyhow.
  449.  
  450.     - Included a patch for the V44 SetPatch.
  451.  
  452. Release 0.47
  453. --------------
  454.     - mmu.library: Changed again the cache control logic a bit. Please
  455.       try DMA transfers again. The new logic does not block interrupts
  456.       as long as the old logic, hence might avoid problems if fast
  457.       interrupt processing is required. It should be *slightly* faster
  458.       as well.
  459.     - MuForce: MuForce catches now supervisor exceptions as well if you
  460.       specify the "CAPTURESUPER" keyword. This requires patching of
  461.       some autovectors.
  462.     - Added a new drawer "Contributions", containing more tools from
  463.       other people I regard as very useful. This is "Sashimi" by
  464.       Olaf Barthel, and "PatchWork" by Richard Körber. Thanks Olaf,
  465.       thanks Richard for allowing me to include your great work!     
  466.     - Run all guides thru ISpell, hopefully correcting most typos.
  467.     - MuMove4K: The PREPAREEMUL option disabled the CPU instruction
  468.       cache. I expected the ROM would re-enable it somewhat later, but
  469.       it didn't. Fixed.
  470.  
  471. Release 0.46
  472. --------------
  473.     - mmu.library: Found that the "ramlib" task is really very low on
  474.       stack. I'm now swapping the stack on library startup to avoid
  475.       problems.
  476.     - updated the mmu.lib exception handler. It is now possible to use
  477.       the exception mechanism to auto-extend the stack and to keep the
  478.       user stack on virtual memory. The new "message hook" mechanism
  479.       does not require user stack space. However, an additional patch
  480.       to the exec switch function is required for this trick. This
  481.       patch is currently not included in the mmu.library - basically
  482.       because this is not directly MMU related.
  483.     - MuGuardianAngel will now stop to check for a valid free memory
  484.       counter if it finds a problem and reports the problem immediately.
  485.     - MuForce is now able to capture even "ordinary" MC68K exceptions.
  486.       This can be disabled with the new "NOGURUPATCH" option.
  487.     - Included a "synchronous" version of the 680x0.library because the
  488.       asynchronous outsmarted several systems.
  489.     - mmu.library: The chip ram is now by default marked as cacheinhibit 
  490.       imprecise nonserialized. This will speed up chip ram access a bit
  491.       for the 68060 and 68040. Works of course only if the MMULib is
  492.       used to setup the MMU tables, i.e. for users of the V40 68040 lib.
  493.       Video RAM of several graphics cards can be setup in the same way
  494.       as well, but since there's no way to identify expansion hardware as
  495.       video ram, you've to do that manually.
  496.     - mmu.library: The F-Space is now by default marked as cacheinhibit
  497.       to allow (IMHO misdesigned) hardware to map in here without telling
  498.       the system. This can be disabled by using the MMU-Configuration
  499.       file.
  500.     - Added a new MuTool: MuFastChip. This tool will enable the imprecise
  501.       or nonserialized cache mode for chip memory and will hence improve
  502.       chip memory access performance for systems where a third-party 040 
  503.       or 060 library does not setup the MMU tables in the optimal way.
  504.       The MMU.library (and hence the V40 68040.lib) *will* build its own
  505.       MMU tables with this feature enabled anyhow if it doesn't find an
  506.       MMU table to start from. 
  507.     - Fixed the SetPatch fix. (You kept the original, right? :-)
  508.       It might have been that the 43.7 edition installed a fix for the
  509.       mathieeesingbas.library even if this fix is unnecessary and fatal,
  510.       as it is for the 68881/68882 FPU.
  511.  
  512. Release 0.44
  513. --------------
  514.     - mmu.library:    The "AddMem" command in the MMU-Configuration file
  515.       was broken. Added the memory twice, causing nothing but a mess.
  516.     - Added a safety check for "AddMem", the command is now ignored
  517.       in case the memory in question is already added.
  518.     - "SetCacheMode" argument "valid" was broken and did not validate
  519.       the memory at all.
  520.     - AddMem'd memory was added after the MMU table setup, hence wasn't
  521.       used for the MMU descriptors. The library *tries now* to add it
  522.       as soon as possible to make some use of it for building the MMU
  523.       trees.
  524.     - MuFastZero: The FORCENATIVE option generated a failure code in
  525.       case the zero page wasn't remapped, stopping additional options
  526.       like MOVESSP from working.
  527.     - MuGuardianAngel: The "MemHeader free counter incorrect" error
  528.       handler did not save back one register and hence caused additional
  529.       hits.
  530.     - MuGuardianAngel: Ooops, found a problem of the RAM-Handler. Not
  531.       a MuGuardianAngel problem, but a real design fault of RAM: DO NOT
  532.       try to delete and write to the RAM: disk at the same time, this
  533.       will cause lots of trouble.
  534.     - Included a fix for the CBM mathieeedoubbas.library 38.2. This
  535.       library fails to compare floating point numbers below zero
  536.       correctly in some cases. The P5 library patches mathieeedoubbas
  537.       to fix this, but the 68040.library should not be a replacement
  538.       for SetPatch. To apply the patch,
  539.  
  540. 1)      Copy the file LIBS:mathieeedoubbas.library to RAM:
  541. 2)      Copy the file mathieeedoubbas.pch in the directory "Fixes" to RAM:
  542. 3)      Copy the "spatch" program at the same place to RAM:
  543. 4)      Change the directory to ram: with "cd RAM:"
  544. 5)      Apply the patch with    "spatch mathieeedoubbas.library"
  545. 6)      Copy the file RAM:mathieeedoubbas.new to
  546.         LIBS:mathieeedoubbas.library. It contains the fixed library.
  547.  
  548.     - In case the V40 68040.library slowed your computer down:
  549.       copy the file "MMU-Configuration" from the "ENVARC" drawer into
  550.       "ENVARC:". In case this causes crashes with Z-II memory, follow
  551.       the instructions in the file and remove one semicolon in front of
  552.       the "SetCacheMode" command. 
  553.     - Removed the debugging information from all files.
  554.     - Added the MMU master guide. Please check this, is this understand-    
  555.       able? In case I forgot to mention you in the credits, please let
  556.         me know!
  557.     - Moved all libraries to a separate directory, "Libs"
  558.     - Included a new library, the 680x0.library. This is the CPU
  559.       unspecific CPU driver. It's job is to detect which CPU is avail-
  560.       able in your system, and to load the CPU specific code. It there-
  561.       fore acts very much like the P5 68040dummy.library, except that
  562.       it remains in the system and provides user-callable function
  563.       entries for querying the CPU/FPU/MMU type and to setup the FPU
  564.       exceptions. The CPU specific library *should never be called
  565.       directly*, this library will re-route the calls to the correct
  566.       library. Furthermore, it loads the library in background, helping
  567.       to speed up the boot process a bit. 
  568.     - A special edition of SetPatch is available that loads the 680x0
  569.       library instead the 68040.library, regardless of which processor 
  570.       is available. The 680x0.library will then even try to load an
  571.       68000.library or 68020.library. This library could be used, for
  572.       example, to install line-F instructions to emulate the FPU 
  573.       completely in software, even for a 68020 or 68000 without FPU.
  574.       To patch "SetPatch", 
  575.  
  576. 0)    Keep a copy of SetPatch in a safe place.
  577. 1)      Copy the file C:SetPatch to RAM:
  578. 2)      Copy the file SetPatch.pch in the directory "Fixes" to RAM:
  579. 3)      Copy the "spatch" program at the same place to RAM:
  580. 4)      Change the directory to ram: with "cd RAM:"
  581. 5)      Apply the patch with    "spatch SetPatch"
  582. 6)      Copy the file RAM:SetPatch.new to C:SetPatch. This is the
  583.     inofficial 43.7 edition of SetPatch.
  584.  
  585.     - Included a new program, "FPU" in the "Shell only" drawer. This
  586.       program controls the exception generation of the FPU. It will
  587.       only work with the 680x0.library and the V40 68040.library
  588.       installed.
  589.  
  590.  
  591. Release 0.42
  592. --------------
  593.     - 68040.library: Only cosmetic changes. Added a AN_Zombie guru in
  594.       case the ColdReboot() function returned. I've no idea how this
  595.       could happen.
  596.     - mmu.library: I don't thrust the AFF_68060 flag any more. The
  597.       68060.library of the LC75 Apollo board does not set this bit
  598.       correctly and hence identifies the 060 as 040. Hence, the library
  599.       tried to install the wrong driver and crashed desparately. The
  600.       library tries now to identify an 060 in case at least an 040 is
  601.       indicated. The library updates then its own AttFlags copy 
  602.       correctly. Outch! I don't know whether this is a typo in the
  603.       sources of the 68060.lib, or this intended and something "sneaky"
  604.       I fail to understand. 
  605.     - Fixed one bug in the disassembler.library. It failed to disassemble
  606.       64 bit arithmetics correctly.
  607.     - MuFastRom: In case no argument is given, the program uses now the
  608.       default "On".
  609.     - MuFastZero: Again, made "On" the default argument. Added the
  610.       "MoveSSP" and "StackSize" arguments to relocate the supervisor
  611.       stack to fast ram. This does not make use of the MMU.
  612.     - Added the "CheckFPU" command, in the "Shell_Only" drawer. This
  613.       program prints the version number of a 68040 FPU if one is avail-
  614.       able. Two versions exist, the V40 "original" which is very buggy
  615.       and the V41 "revised" with less bugs. The 68040.library supports
  616.       currently both, with lots of workarounds for the V40. Please
  617.       contact me in case you find a V40 edition in your Amiga.
  618.     
  619.  
  620. Release 0.41
  621. --------------
  622.  
  623.     - Forgot to update the version number in 0.40. Reported 0.38. Oops.
  624.     - TTx parsing was still not 100% correct, but much better. Fixed.
  625.     - Due to a typo, branch cache flushes were effectively disabled.
  626.       Outch! Forgot one single "$".
  627.     - Added branch cache flushes on context switches, recommended by
  628.       Motorola.
  629.     - Added includes, autodocs and .fd files for the 68040.library.
  630.     - Updated MuFastZero and MuFastROM to include and set the cache
  631.       flags according to the mirrored RAM. This is of importance in
  632.       case non-cacheable Z-II fast RAM is used to build the mirror.
  633.     - Made mild modifications to the FPSP FPU emulator package to speed
  634.       it up a bit. The 40.1 release is now unnoticably faster than the
  635.       Mike Sinz 37.30 release, which is again unnoticably faster than
  636.       the P5 release.
  637.     - Added a workaround in GetMsg() to keep some brain-dead programs
  638.       working that call GetMsg() in a tight loop without giving
  639.       interrupts a chance to occur. These programs tend to block the
  640.       computer completely, especially if the ROM is remapped to 
  641.       cacheable, burstable memory. The workaround is a single NOP.
  642.  
  643. Release 0.40
  644. --------------
  645.     New in this release:
  646.  
  647.     - Added four internal undocumented LVOs for external CPU drivers.
  648.     - Fixed a bug in the CPU detection routine. A 060 EC or LC was
  649.       not recognized. Outch! Which smart guy at Motorola decided to use
  650.       the same processor ID for both products? The EC doesn't have a MMU,
  651.       the LC - as for example used by the LC75 Apollo board - does.
  652.       This might well explain a lot of problems of the Apollo board....
  653.     - Fixed a bug in the library init routine which would cause a guru
  654.       in case no MMU is available at all. The library MUST load, and
  655.       some functions will be available even without an MMU.
  656.     - Fixed several minor bugs of the TTx parsing routine, hopefully
  657.       correcting problems with some ancient 040 library releases that
  658.       didn't make use of the MMU (how should that work?)
  659.     - Fixed a serious bug of the Alert() replacement function, the stack
  660.       was used plain wrong. Thanks Etienne!
  661.     - Included an updated and more streamlined version of MuLockLib,
  662.       thanks to Gunther Nikl for providing it.
  663.     - Updated MuSetCacheMode, added more options.
  664.     - Added a configuration/preferences file and a preferences file
  665.       parser.
  666.     - Included now the "stripped" versions of the libraries in a sub-
  667.       directory of the same name. These editons don't contain the de-
  668.       bugging information and are therefore shorter.
  669.     - *News flash* 
  670.       This release comes with an upgraded version of the 68040.library.
  671.       This library is still in "beta" stage, but makes already use of
  672.       the mmu.library for the MMU configuration. It is for that reason
  673.       even shorter than the 37.30 release, even though it uses the latest
  674.       68040 FPU emulation code from Motorola.
  675.       FPU exceptions are configurable thru an LVO vector of the library,
  676.       but I haven't written a control tool yet. This will follow in the
  677.       next distribution.
  678.       This release *will only work* if the 37.30 runs on your machine,
  679.       you should, however, edit the ENVARC:MMU-Configuration file to 
  680.       to make some P5 boards working. The file should contain this line:
  681.  
  682. SetCacheMode    from 0x00f00000 size 0x00080000 valid iospace
  683.  
  684.       If you use this edition of the 68040.library, it might disable
  685.       caches for the Z-II address space completely. If this is not
  686.       desired, you may turn them on again with the following line in
  687.       the MMU-configuration file:
  688.  
  689. ClearTTX    
  690.  
  691. The path of the preferences file is ENV:MMU-Configuration or 
  692. ENVARC:MMU-Configuration if the first file is not found. The file looks like
  693. a standard shell script except that only three commands are known. All
  694. other commands are ignored silently for forwards compatibility, more might
  695. be made available in the future. The semicolon is used to separate comments 
  696. from the commands, the text following a semicolon is ignored.
  697.  
  698. The following three commands are available:
  699.  
  700. ClearTTX    ITT0/S,ITT1/S,DTT0=TT0/S,DTT1=TT1/S,ALL/S
  701.  
  702.     Controls the mmu.library use of the transparent translation registers.
  703.     By default, they are considered, their setup is added to the MMU
  704.     tree layout and they are cleared afterwards. Using this command,
  705.     several TTx registers can be made to be ignored (even though they
  706.     are still cleared because they are "in the way")
  707.  
  708.     ITT0        Ignore the instruction transparent translation 
  709.             register 0. (68040 and 68060 only).
  710.     ITT1        Ignore ITT1 (68040 and 68060 only).
  711.     DTT0        Ignore the data transparent translation register
  712.             number 0 (68040 and 68060) or the transparent
  713.             translation register 0 (68030).
  714.     DTT1        Ignore DTT1 (68040 and 68060) or TT1 (68030)
  715.     DTT0        Ignore DTT0
  716.  
  717.     ALL        Ignore all TTx registers. This is the default if
  718.             no other options are given.
  719.  
  720.     This command does nothing on a 68851 because this MMU doesn't offer 
  721.     transparent translation registers at all.
  722.  
  723.  
  724. AddMem        FROM=ADDRESS/A,LENGTH=SIZE/A,ATTR=FLAGS/K,PRI/K,NAME/K
  725.  
  726.     Adds memory to the exec memory pool. Note that THIS DOES NOT
  727.     make the memory available, i.e. it is NOT AUTOMATICALLY marked
  728.     as "valid". Hence, an "AddMem" command requires most likely a
  729.     "SetCacheMode" for the same memory region or the library will
  730.     crash on startup.
  731.  
  732.     FROM=ADDRESS    Base address of the memory to be added. in hex
  733.             notation. A leading $ or 0x is allowed.
  734.             This address must be aligned to a 64K boundary.
  735.  
  736.     LENGTH=SIZE    Size of the memory to be added in bytes, in hex.
  737.             Again, must be divisible by 64K.
  738.     
  739.     ATTR=FLAGS    Memory attribute flags in hex. Defaults to 0x05
  740.             which is MEMF_PUBLIC|MEMF_FAST. More flags are
  741.             documented in exec/memory.h. The library *does not*
  742.             know the nmemonics for the memory types, though.
  743.  
  744.     PRI        Priority of the memory pool to be added, in decimal
  745.             notation. This must be a number between -128 and 127. 
  746.             Defaults to six.
  747.  
  748.     NAME        Name of the memory pool. 
  749.             Defaults to "MMU expansion memory".
  750.  
  751.     Again, this command *does not* make the memory available for the
  752.     processor, an additional "SetCacheMode" is required.
  753.  
  754.  
  755. SetCacheMode    FROM=ADDRESS/A,LENGTH=SIZE/A,
  756.         COPYBACK/S,WRITETHROUGH/S,CACHEINHIBIT/S,
  757.         NONSERIAL/S,IMPRECISE/S,
  758.         VALID/S,BLANK/S,
  759.         IO=IOSPACE/S,NOIO=NOIOSPACE/S,
  760.         ROM/S,NOROM/S
  761.  
  762.     This is a "cut down" version of the "MuSetCacheMode" command, it
  763.     supports a sub-set of its cache control commands. Options that
  764.     modify memory in a way that could result in access errors are not
  765.     supported and must be setup by hand with "MuSetCacheMode".
  766.  
  767.     FROM=ADDRESS    The base address of the memory region whose cache
  768.             mode shall be changed. This is in hex notation, a
  769.             leading 0x or $ is allowed.
  770.             The library will round this down to the next
  771.             page size boundary, which is usually 4K or 1K.
  772.  
  773.     LENGTH=SIZE    The size of the memory region in bytes, in hex
  774.             notation. 
  775.             The library will round this up to the next page
  776.             size if required.
  777.  
  778.     COPYBACK    Enables the copyback cache mode. This is the
  779.             fastest cache mode available, reads and writes are
  780.             cached if the CPU allows this. This option will 
  781.             fall back to WRITETHROUGH on a 68030 or 68851.
  782.  
  783.     WRITETHROUGH    Enables the writethrough cache mode. Reads will
  784.             be cached, writes will enter the cache but will be
  785.             written out to memory as well.
  786.  
  787.     CACHEINHIBIT    Disables the cache completely.
  788.  
  789.     NONSERIAL    Disables the cache, but allows the CPU to reorganize
  790.             accesses to speed up memory transfers a bit. 
  791.             (68040 only, does nothing on all others).
  792.  
  793.     IMPRECISE    Disables the cache, but allows the CPU to handle
  794.             access errors a bit "sloppy" to speed up access a
  795.             bit. (68060 only, does nothing on all others).
  796.  
  797.     VALID        Validates the memory region, i.e. makes it available.
  798.             This option is required to enable a memory region
  799.             that should be added to the exec memory pool by the
  800.             "AddMem" command.
  801.  
  802.     BLANK        Invalidates the memory region, all accesses will be
  803.             remapped to a "dummy" page.
  804.  
  805.     IO=IOSPACE    Marks the memory region as mapped IO space, and
  806.             sets the cache mode to CACHEINHIBIT. The cache mode
  807.             can be overridden by using the cache control options.
  808.  
  809.             This is a pure software flag which is, however, used            
  810.             by MuForce and friends. Memory marked as IOSPACE is
  811.             never disassembled or dumped because of undesireable
  812.             side effects that might result.
  813.  
  814.     NOIO=NOIOSPACE    Marks the memory as plain RAM space, negative form of
  815.             IO=IOSPACE.
  816.  
  817.     ROM        Marks the memory as ROM space and enables the
  818.             defensive write protection. Writes to this area will
  819.             be ignored silently.
  820.  
  821.     NOROM        Marks the memory as RAM space, writes are allowed.
  822.             Negative form of NOROM.
  823.  
  824.  
  825. For example, to add non-autoconfiguring fast cacheable memory 
  826. from 0x02000000 to 0x03ffffff, setup your "MMU-Configuration" as follows:
  827.  
  828. SetCacheMode    from 0x02000000 size 0x01000000 valid copyback
  829. AddMem        from 0x02000000 size 0x01000000
  830.  
  831. --
  832. To disable the cache of autoconfiguring Zorro-II memory, as required by
  833. some 040 and 060 based boards that can't break up burst accesses into
  834. 16-bit Z-II accesses:
  835.  
  836. SetCacheMode    from 0x00200000 size 0x00800000 cacheinhibit
  837.  
  838. The GVP Combo 040 is an example for a board requiring this "adjustment".
  839.  
  840. --
  841. To mark non-autoconfiguring hardware in the F-Space as "IO space":
  842.  
  843. SetCacheMode    from 0x00f00000 size 0x00080000 iospace
  844.  
  845. Most P5 boards suffer from this design problem.
  846.  
  847.  
  848. Release 0.38
  849. --------------
  850.     New in this release:
  851.  
  852.     - Added four internal undocumented LVOs for external CPU drivers.
  853.     - Fixed a bug in the CPU detection routine. A 060 EC or LC was
  854.       not recognized. Outch! Which smart guy at Motorola decided to use
  855.       the same processor ID for both products? The EC doesn't have a MMU,
  856.       the LC - as for example used by the LC75 Apollo board - does.
  857.       This might well explain a lot of problems of the Apollo board....
  858.     - Fixed a bug in the library init routine which would cause a guru
  859.       in case no MMU is available at all. The library MUST load, and
  860.       some functions will be available even without an MMU.
  861.     - Fixed several minor bugs of the TTx parsing routine, hopefully
  862.       correcting problems with some ancient 040 library releases that
  863.       didn't make use of the MMU (how should that work?)
  864.     - Fixed a serious bug of the Alert() replacement function, the stack
  865.       was used plain wrong. Thanks Etienne!
  866.     - Included an updated and more streamlined version of MuLockLib,
  867.       thanks to Gunther Nikl for providing it.
  868.  
  869. Release 0.37
  870. --------------
  871.     New in this release:
  872.  
  873.     - Added two tags for Get/SetContextData in preparation for the
  874.       memory library.
  875.     - Wrote a replacement AddMemList() function because some 
  876.       versions of the 68040/68060.library functions patch this function.
  877.       This release will adjust the MMU tables for the DEFAULT CONTEXT
  878.       only, which means that all memory must be ready AT LEAST AS SOON
  879.       AS A PRIVATE CONTEXT IS CREATED.
  880.  
  881.  
  882. In case you've problems with this library release:
  883. o) Please install the mmu.library_debug ON TOP of the mmu.library, i.e. use
  884.  
  885. copy mmu.library_debug to LIBS:mmu.library
  886.  
  887. o) Reset the system
  888. o) Run Sushi or Sashimi to fetch the output. Give them a HUGE buffer
  889. o) Load the library. MuLockLib would do that, for example.
  890.  
  891. Release 0.36
  892. --------------
  893.     News in this release:
  894.  
  895.     - Fixed MuMove4K, added the A1200 option and fixed the shutdown code.
  896.     - Fixed MuLockLib, there was a slight chance for a crash (thanks to
  897.       Gunther Nikl for reporting)
  898.     - Fixed the .fd-File. I forgot to include two functions making
  899.       the table useless, and forgot to include one library 
  900.       function in the library lvo jump table. Outch!
  901.     - Fixed the new memory map functions.
  902.     - Tested indirect descriptor functions, included a new test,
  903.       see MuIndirectTest.
  904.  
  905. I'm planning to upload the 0.36 to the Aminet next saturday, I won't be in
  906. town from July 18th to August 8th. 
  907.  
  908. Release 0.35
  909. -------------
  910.     News in this release: Something in the library, even though no
  911.     real serious bugs have been found. More functions, but more power-
  912.     ful debugging tools.
  913.  
  914.     - Added support functions for memory maps, likely untested.
  915.     - Added support functions for indirect descriptors and *VERY FAST*
  916.       indirect page swapping.
  917.     - Fixed a tiny bug in the 060 support which might have failed to
  918.       detect physical bus errors correctly.
  919.     - Fixed a bug in GetPageProperties which might have failed to
  920.       read remapped memory correctly.
  921.     - Streamlined the tag item parse functions.
  922.     - Updated documentation and includes.
  923.     - Wrote the disassembler.library, added to the distribution.
  924.     - Updated MuForce: The program makes use of the disassembler.library
  925.       and prints now a disassembly of the faulty code on demand.
  926.     - Fixed a bug in MuGuardianAngel, stack dump was broken.
  927.     - Updated MuGuardianAngel, included disassembly function.
  928.     - Updated MuMove4K a lot, included a PREPAREEMUL function,
  929.       wrote a better guide, drew a shell icon.
  930.     - Included more shell tools, PrintBusError, ResetBusError and
  931.       ClearTTx.
  932.  
  933. The Apollo LC060 75Mhz showed problems with the mmu.library. I don't know
  934. how these problems arose, but it might be that the MMU doesn't like the over-
  935. clocking. To test this, please run the "ClearTTx" program with the NATIVE
  936. Apollo setup and check whether this works or not.
  937.  
  938. The PrintBusError tool will dump the bus error vector. It should always
  939. point to the library.
  940.  
  941. The ResetBusError will repair the bus error vector in case it was messed
  942. up by a program. It should be run WITHOUT an active debugger, or the result
  943. will be worse, not better. An application for this program is to restore
  944. the correct bus error handler after having used the "SoftBoot" program or
  945. "SetCPU FastROM" or "CPU FastROM". Note that the latter two are obsolete
  946. and replaced by MuFastROM.
  947.  
  948.  
  949. Release 0.34.1
  950. --------------
  951.     I'm pretty happy with the 0.34 how it is now, I haven't found new
  952.     bugs. This doesn't mean there are none, though. (-;
  953.  
  954.     New in this release:
  955.  
  956.     - Updated MuGuardianAngel a bit. The "hit" messages are now more
  957.       informative and contain more detailed information about the
  958.       cause of the hit, as for example which memory chunk was released
  959.       etc... Thanks to Simon for the hint.
  960.     - Added a new program "MuLink" to the MuTools. This is a shell-only
  961.       developer tool for automatic "self-protection" of software. A
  962.       program that gets "MuLink'd" will get its code (or other selected)
  963.       segments automatically write protected. This is most important 
  964.       for software that has to run on critical systems, as BBS's 
  965.       and the like. MuLink is a post-processing tool much like ATOM.
  966.       More about this tool in its documentation.
  967.     - Added a "MuGuardianOff" icon.
  968.     - Updated the documentation.
  969.     - Included E developer files, thanks to Daniel Kasmeroglu. 
  970.  
  971.  
  972. Remaining problems:
  973.     
  974.     - The usual ppc.library problem. Not about to be fixed.
  975.     - The library still refuses to work correctly on an Appollo 75Mhz
  976.       060EC board, I don't know why. TTx setup of this board is now
  977.       supported correctly, but this doesn't seem to help. Wierd.
  978.  
  979. Release 0.34
  980. ------------
  981.     Sigh, the 0.33 DMA logic was still buggy....
  982.  
  983.     - Fixed (another) bug in CachePostDMA(). The routine failed to
  984.       check the CPU AttnFlags correctly and hence did not restore
  985.       the cache mode to copyback. This could have been resulted in
  986.       slowdown of your machine, and hands of several MuTools.
  987.     - Removed all references to the 68040 and 68060.library. This
  988.       will allow a possible future 680x0 library to use the 
  989.       mmu.library to build its MMU tree instead of implementing this
  990.       function a second time.
  991.  
  992. I M P O R T A N T:
  993.  
  994. THIS MEANS THAT ALL THE MUTOOLS *MUST* BE RUN  A F T E R  SetPatch.
  995.  
  996. The only exception to this rule is MuMove4K.
  997.  
  998. Please DO NOT run the MMURemapTest with the cybscsi or cybppc.device. Both
  999. devices are not designed to allow memory remapping (not my fault). In worst
  1000. case, they will trash your hard disk!!!
  1001.  
  1002.  
  1003. Thanks goes to Ulrich Falke for helping me to find these bugs, and 
  1004. furthermore to Michaela Prüß for supplying the includes and protos for the 
  1005. vbcc compiler!
  1006.  
  1007. Release 0.33
  1008. ------------
  1009.     Outch, the 0.30 was buggy!
  1010.  
  1011.     - Fixed a bug in the GetPageProperties() routine for the 030 and
  1012.       020 support code. The cache control functions overwrote an 
  1013.       important CPU register and therefore crashed MuForce.
  1014.     - Fixed a bug in the DMA control logic. Outch! This really broke
  1015.       things!
  1016.     - Fixed a bug in the MMU table rounding logic. Fixed one overflow
  1017.       problem that makes the procedure hang on some machines. 
  1018.       Additionally, I forgot to merge adjacent property nodes here.
  1019.     - I must have been crazy to remove the PROTECT option in MuFastROM.
  1020.       Fixed!
  1021.     - MuFastZero OFF improved, and the FORCENATIVE flag was broken
  1022.       completely.
  1023.     - MuGuardianAngel showed a few bogus exceptions on startup, depends
  1024.       on the system configuration. TRSaferPatches caused this, fixed.
  1025.     - Added the FixCybAccess workaround. It fixes - or actually 
  1026.       works around - a really bad design fault of the cybscsi.device.
  1027.       More on this in its readme.
  1028.     - Changed the SegTracker output style of MuForce and MuGuardianAngel
  1029.       to the Enforcer style. This is most useful for tools interpreting
  1030.       these lines.
  1031.  
  1032. Thanks to all the nice folks that reported bugs, and sorry for the 
  1033. inconvenience about all the bugs.
  1034.  
  1035. This distribution contains again a "mmu.library_debug". In case you encounter
  1036. problems, please rename this to "mmu.library", install "Sushi" or "Sashimi"
  1037. with a *LARGE* I/O buffer and run the tests again. Alternatively, connect
  1038. a terminal to the serial port, 9600 baud, 8 bit, 1 stop bit, no parity.
  1039.  
  1040. Please collect the output and sent it to my email address. This will help 
  1041. me a lot debugging the library.
  1042.  
  1043. -----> When reporting bugs, PLEASE PLEASE let me know:
  1044.  
  1045. o) About which version of the library you're running. I might have sent
  1046. some of you an updated version.
  1047. o) About which processor your system is running on.
  1048. o) A MuScan output.
  1049. o) Which SCSI/IDE device you're using.
  1050.  
  1051. In case you see a crash:
  1052.  
  1053. o) Please write down the guru number.
  1054. o) Try to reproduce the crash, try to find out which program causes the
  1055. crash. This means that you should try to edit your startup sequence and to
  1056. remove patches from there until the crash disappears. You don't need to
  1057. strip the startup-sequence permanently, but just to let me know which
  1058. program causes the incompatibility.
  1059.  
  1060. Please understand that a "It won't work on my computer" doesn't help me 
  1061. much to fix the problem. Try to be as concrete as possible, this will 
  1062. increase the propability enourmously that bugs get fixed. (-;
  1063.  
  1064. A special note about the 0.3x releases:
  1065.  
  1066. I introduced a new guru, namely "AN_PostSetup 0x3e000015". In case you see
  1067. this specific guru, let me know which program caused this.
  1068.  
  1069.  
  1070. A special note about MuGuardianAngel:
  1071.  
  1072. This program is NOT compatible with PoolMem. Try not to install PoolMem on
  1073. top of this, this won't work. MuGuardianAngel will be smart enough to cancel
  1074. PoolMem if it is running, but it is not smart enough to prevent its 
  1075. installation.
  1076.  
  1077.  
  1078. A special note about "version" and related utilities aka "verscheck":
  1079.  
  1080. These tools OPEN the libraries in question. Hence, if you run "version"
  1081. on a - possibly existant - 68040old.library, it will open this library and
  1082. re-install a MMU table on top of the already loaded table. Either do
  1083. not try this or remove the 68040new.library and the 68040old.library from
  1084. your LIBS: drawer.
  1085.  
  1086.  
  1087. A special note about "MMUCacheTest": 
  1088.  
  1089. If this program hangs on your system, please report this. Furthermore, please
  1090. run it *AGAIN*, but this time with the "NOMMU" option on the command line
  1091. and *WITHOUT ANY* tools that require the mmu.library. It would be best to
  1092. boot without startup-sequence, run "SetPatch" by hand and then immediately
  1093. "MMUCacheTest DH0: nommu".
  1094.  
  1095.  
  1096. Release 0.30
  1097. ------------
  1098.     Ouh, just too many changes to mention:
  1099.  
  1100.     - Added tags to setup the MMU table layout, as the page size,
  1101.       the depth of the MMU tree.
  1102.     - Added functions to get and set some control values of the
  1103.        MMU contexts.
  1104.     - Added page access exception handler.
  1105.     - CachePre/PostDMA patches are now always installed since 68020
  1106.       and 68030 based systems need the logical -> physical trans-
  1107.       lation as well.
  1108.     - Reworked the mmu.library memory management.
  1109.     - Fixed several bugs in the MuForce program, did not handle ROM
  1110.       remapping correctly.
  1111.     - MuFastRom and MuFastZero reworked a bit. MuFastZero OFF did
  1112.       not work. Added more options for both tools.
  1113.     - Added a new debugging tool: MuGuardianAngel. Some sort of
  1114.       memory protection that keeps free memory from getting over-
  1115.       written by faulty programs.
  1116.     - Added more options to MuSetCacheMode.
  1117.     - MuMove4K moves now the lowest 32K (and is hence misnamed). This
  1118.       avoid trouble with large MMU table sizes on 68030/68020 based 
  1119.       systems and pre-allocates memory for an "oxypatcher" type tool.
  1120.     - Added MuLockLib tool, check the readme.
  1121.     - ....
  1122.  
  1123.  
  1124. Release 0.27
  1125. ------------
  1126.     - Fixed a bug in the task scheldurer.
  1127.     - Added a second explicit cache flush for ColdReboot()
  1128.     - Fixed a bug in the branch cache flush of the '060... Sorry!    
  1129.     - Tested the library for public remapped memory... Works!
  1130.     - Tested the library for private MMU trees... Works!
  1131.  
  1132.     - Since the 0.27 works now within its specifications, this will
  1133.       be the last 0.2x release. We're going to 0.30 now.
  1134.  
  1135. Release 0.26
  1136. ------------
  1137.  
  1138.     - Fixed a bug in the exception handling, forgot to restore a6.
  1139.     - Fixed the return value of RebuildTree(). It's now TRUE on
  1140.       success, not DOSTRUE.
  1141.     - Fixed a bug in the table builder, merged sub-tree were released
  1142.       incorrectly.
  1143.     - Added the WithoutMMU() LVO entry.
  1144.     - Removed the AllocLineMem() LVO, this one was useless.
  1145.  
  1146. Release 0.25
  1147. ------------
  1148.  
  1149.     - Debugged 060 exception handler again. Found only one bug, ROM
  1150.       emulation was broken.
  1151.     - Enhanced AbsExecBase accesses - does no longer block interrupts
  1152.       unnecessary.
  1153.     - Fixed parts of the exception handler to read the faulty instruction
  1154.       from the correct function code space.
  1155.     - Added a complicated test for the EC030 processor that should
  1156.       finally work.
  1157.     - Enabled the MMULib internal exception handler test.
  1158.     - Removed all accesses to the ppc.library and reserved entries.
  1159.       PPC.lib compatibility is no longer an issue for me. The MMU.lib
  1160.       is WarpOs-compatible, though, as long as the system isn't 
  1161.       infected by Ralph's "software".
  1162.     - Added a safety test in the MMUCacheTest program to avoid
  1163.       hangs.
  1164.  
  1165. Release 0.24
  1166. ------------
  1167.  
  1168.     - Fixed the 030/851 exception handler, especially the emulation
  1169.       of instruction access of a possibly invalidated zero page,
  1170.       now really, *BIG* thanks to Dave!
  1171.     - MuForce does no longer ignore a remapped ROM. (Oops!)
  1172.     - MuForce does no longer touch the mapping of the fspace
  1173.       unless told to do so.
  1174.     - Fixed the assembler includes and autodocs, thanks to Tilman!
  1175.     - The context management of the library does no longer
  1176.       reset the remap destination in case the memory remap flag
  1177.       is not included in the mask settings. (Oops!)
  1178.     - Fixed the MMU table builder for MMU tables using more than
  1179.       32K entries.
  1180.     - The startup code selects now a better page layout for 030/851
  1181.       processors.
  1182.     - MuForce tries now to re-use an already relocated vector base
  1183.       if possible.
  1184.     - Tiny speedup in the "InstallDescriptor" routine could speed up
  1185.       MMU table building. There's room for more speedups, though.
  1186.     - Added a "nommu" flag for the MMUCacheTest program to check    
  1187.       your HD without the mmu.library. If this flag is used, the
  1188.       program *MUST* be run without the mmu.library currently loaded.
  1189.  
  1190. Related fixes of COP (release 1.73, not included in this distribution):
  1191.     - Fixed emulation of instruction access to the zero-page.
  1192.     - Fixed the RestoreVBR option.
  1193.     - Fixed the MMU disable mechanism on startup.
  1194.  
  1195. Special thanks goes to Dave "Ragman" for finding a lot of bugs in the 0.21
  1196. release.
  1197.  
  1198. -----------------------------------------------------------------------------
  1199.  
  1200. Compatibility warnings and bad software:
  1201.  
  1202. - The MMU tables generated by the "CPU FastROM" command, an official CBM tool,
  1203. are simply wrong if run on a 030 processor. Chip memory is marked as
  1204. "cacheable", which is plain wrong. Already spoke to Michael Sinz who agrees
  1205. in that point. Don't use it, run "MuFastRom" instead.
  1206.  
  1207. - The MMU tables build by "SetCPU FastRom" are not very well suited for 
  1208. MuForce. The MMU library will replace the table layout by something more
  1209. adapted.
  1210.  
  1211. Since these programs may install a "bogus" exception vector, you shouldn't
  1212. run both programs with the "FastROM" option. If you absolutely want to do, 
  1213. run them *before* installing any MMU.lib related program and COP - remember, 
  1214. you have been warned. "MuFastROM" will do better once the library is finished.
  1215.  
  1216.  
  1217. - CMQ060.lha from the Aminet: This program uses the MOVE16 instruction to
  1218. "speed up" the copy mem routines of the Os. Besides that the speedup is
  1219. minimal, you should be informed that this instruction is not fully 
  1220. supported by the Amiga hardware. A MOVE16 into the chip memory could yield
  1221. to "strange and wonderful things", and may or may not work. Its burst
  1222. accesses simply don't fit into the DMA access mechanism of the Amiga 
  1223. custom chips. (Note that no other instruction will try burst accesses
  1224. into non-cacheable memory!)
  1225. Moreover, if a MOVE16 crashes, the mmu.library is out of buisiness, it will 
  1226. simply guru. Moreover, due to a firmware bug of the '040, a MOVE16 on a
  1227. system using virtual memory might be unreliable and cause undesired side
  1228. effects. Do not run this program!
  1229.  
  1230. MOVE16 is one of the non-supported instructions in an Amiga system, others
  1231. are TAS, CAS and CAS2 (which are of little use in a single processor system).
  1232.  
  1233. For more detailed information of MOVE16, check either the enforcer.guide or
  1234. the motorola documentation, I'm not making this up, and this is not 
  1235. mmu.library related.
  1236.  
  1237. Known Bugs:
  1238. -----------
  1239.  
  1240.     The MMU table manager rebuilds currently the MMU tables for a
  1241.     complete memory block even if only a minor sub-block was changed.
  1242.     Therefore, it may take longer to build the MMU table than absolutely
  1243.     required. I decided not to change this behaiviour because it
  1244.     keeps the mmu tables clean and optimized and avoids fragmentation.
  1245.  
  1246.     The MMU library builds currently 68030 MMU tables with the
  1247.     REPAIRABLE flag set less efficient than it could. However, it 
  1248.     was felt that a consistent table layout is more helpful than the
  1249.     (minimal) speedup.
  1250.  
  1251.     The library does not yet contain a workaround for a 040 firmware
  1252.     bug: If an illegal, line A, chk or unimplemented floating point
  1253.     instruction is located at the last 16 bits of a page and the next
  1254.     page is not available, the 040 generates an access fault instead
  1255.     of the proper exception. The fault address is the address of the
  1256.     missing page, and the PC points to the instruction in the preceeding
  1257.     page. This doesn't matter too much currently, it might become
  1258.     relevant in a VM system.
  1259.  
  1260.     The library does not provide the MOVE16 instruction of the '040 and
  1261.     '060. See above for details. It does not work around the MOVE16
  1262.     firmware bug causing loss of cached data on MOVE16's into invalid
  1263.     memory, and it reacts with a guru in case a MOVE16 generates an
  1264.     access fault.
  1265.  
  1266.  
  1267. These bugs will be fixed within the next releases of the library, including
  1268. all the other bugs you may find.
  1269.     
  1270. -----------------------------------------------------------------------------
  1271.  
  1272. Special thanks goes to:
  1273.  
  1274. -Ralph Babel for giving information about the CachePreDMA/CachePostDMA
  1275.  functions and for some internals allowing me to write the MuOmniSCSIPatch.
  1276. -Carsten Schlote for starting development of a mmu.library aware 68060.lib.
  1277. -Michael Sinz (a real BIG thank you!) for discussing a lot of details of
  1278.  CachePreDMA/CachePostDMA, for sending me the sources of these functions
  1279.  in his 68040, and especially - and that's really great - for making the
  1280.  Enforcer sources available and for allowing me to reuse the exception
  1281.  handler of the Enforcer. This will happen in one of the next releases.
  1282. -Bjoern Schmidt for allowing me to run some tests on his 060 and for
  1283.  keeping several afternoons free for me.
  1284. -All the testers for running tests and sending me detailed information about
  1285.  their systems.
  1286.  
  1287. Thank you to all of you, this project won't clearly possible without your
  1288. support!    
  1289.  
  1290. -----------------------------------------------------------------------------
  1291.  
  1292. What is this:
  1293. -------------
  1294.     The mmu.library provides functions for MMU related operations
  1295.     as write- or read-protecting certain areas of memory for a
  1296.     given set of tasks, or marking memory regions as "swapped"
  1297.     virtual memory support. It offers an abstraction level on top
  1298.     of the actual MMU and a unified interface for MMU purposes.
  1299.  
  1300.     The MMU lib does NOT implement virtual memory, that's the purpose
  1301.     of another library - the memory.library. There's no much reason why
  1302.     any application except the memory.library and probably some debugging
  1303.     tools should call this library directly. The memory.library functions
  1304.     on top of this library should suffer for "all day purposes".
  1305.  
  1306.     The goal of the mmu.library is to provide an "abstraction layer" on
  1307.     top of the hardware, to allow programs to make use of the memory
  1308.     management hardware of the more advanced members of the MC68K
  1309.     processor family. Programs using the functions of the mmu.library
  1310.     do not need to modify the MMU tables directly and hence will not
  1311.     conflict with each other. The mmu.library interface provides all
  1312.     necessary functions to do that. This will allow programs like
  1313.     Enforcer and VMM to cooperate nicely with each other, provided both
  1314.     use this library.
  1315.  
  1316. Since writing the mmu.library is a tough job, I need your help!
  1317.  
  1318. Currently, only two systems are available right here, a MC68030 40Mhz
  1319. ad a MC68040 33Mhz. While this is better than before, I still need your
  1320. help since the library is supposed to support all members of the MC68K
  1321. family (the 68851, 68040 and 68060 MMUs). 
  1322. Since I don't have all these systems available, I need your
  1323. help - writing system software without being able to debug is "a bit" 
  1324. tricky.
  1325.  
  1326.  
  1327. What can I do as a non-developer:
  1328. ---------------------------------
  1329.  
  1330. Testing! Check the documentation of the programs within the documentation,
  1331. especially what you find the "MuTools" drawer, and lemme know how it goes.
  1332.  
  1333. More shell-based tests are in the "Shell_Only" drawer:
  1334.  
  1335. I) First test
  1336. --------------
  1337.  
  1338. Please run the MMUCacheTest program, too. It takes one argument, the
  1339. name of a hard disk. Don't worry, it won't harm your HD, it will simply
  1340. read sectors from it to test some critical MMU.library functions.
  1341.  
  1342. Please perform this test with as many "disk-like" devices as you can, i.e.
  1343. hard disks, CD Roms, SCSI and IDE devices of various kinds.
  1344.  
  1345. Here's an example run:
  1346.  
  1347. 1.SYS:> MMUCacheTest DH0: <RETURN>
  1348.  
  1349. MMUCacheTest 0.25 (14.03.99) © THOR.
  1350. Internal use only, no commercial use.
  1351. Initial read, calculate checksum.
  1352.  
  1353. Running the initial device test.
  1354. This test checks whether the connected device works reliable.
  1355. It does NOT check the MMU code which is not needed for this
  1356. initial run.
  1357. This test SHOULD NOT fail. In case it does, your device or
  1358. host adapter is broken, but not the MMU logic.
  1359.  
  1360. The initial test passed.
  1361.  
  1362. Running the real test. If this test fails, something is wrong
  1363. with the CachePreDMA/CachePostDMA logic. In this case, please
  1364. sent me an EMail so I can fix it.
  1365. The MMU cache test passed. Run 165329 RAM accesses.
  1366.  
  1367.  
  1368. In case any of the tests fail, or you see crashes, please let me know.
  1369. THIS IS AN IMPORTANT TEST. If anything fails here, the future mmu.library
  1370. might trash disk input.
  1371.  
  1372. If the tests pass, check the number of RAM accesses shown in the last line
  1373. of the output. This number *should* be larger than zero. If it's not, then
  1374. the test did effectively nothing. Please let me know in this case either,
  1375. I'll try to invent a more effective test in this case.
  1376.  
  1377.  
  1378. II) Second test
  1379. ---------------
  1380.  
  1381. Please run the MuContextTest program. It should not crash, but should
  1382. output the following:
  1383.  
  1384. 8.VIF:MMULib> Shell_Only/MuContextTest
  1385. A silly test.
  1386. A silly test.
  1387. B silly test.
  1388. C silly test.
  1389. D silly test.
  1390. E silly test.
  1391. F silly test.
  1392. G silly test.
  1393. H silly test.
  1394. I silly test.
  1395. J silly test.
  1396.  
  1397.  
  1398. This test checks whether the library context switch routine works correctly.
  1399. This is most important for the 68020/68851 since it is most sophisticated
  1400. for this hardware configuration.
  1401.  
  1402.  
  1403. III) Third test
  1404. ---------------
  1405.  
  1406. Please run this test LAST since it can't be aborted. The program is run
  1407. with one parameter, the name of a temporary file. Please DO NOT use a file
  1408. on the RAM or RAD since this won't test much, and DO NOT use the floppy
  1409. drives for the same reason. The optimal choice is an external medium like a
  1410. ZIP or a JAZ drive. This test checks mainly the device driver of your hard-
  1411. disk whether it is written MMU conformal or not. Users of the omniscsi.device
  1412. (the Guru ROM) should install the "MuOmniSCSIPatch" or the answer will be
  1413. "No".
  1414.  
  1415. Please run the test as follows:
  1416.  
  1417. 1.SYS:> MuRemapTest SYS:TempFile
  1418.  
  1419. The program will print the result on the screen.
  1420.  
  1421.  
  1422. If this test succeeds, the program will attempt to remap free exec memory
  1423. to a new position and builds a new memory pool. This memory will therefore
  1424. have different physical and logical addresses. Please try now whether your
  1425. system remains stable, but do not yet run MuGuardianAngel as it does not yet
  1426. support memory remapping.
  1427.  
  1428. The program can't be aborted since the remapped memory can't be released
  1429. if parts of it got allocated.
  1430.  
  1431.  
  1432. What can I do as developer:
  1433. ---------------------------
  1434.  
  1435. I'm still willing to give away the sources of the library, provided that
  1436.  
  1437. a) you keep them private and don't give them away (really!)
  1438. b) you help me debugging the library by using them.
  1439.  
  1440. They are no longer included in the "standard" distribution because that
  1441. would enlarge the archive unnecessary for most testers. In case you're
  1442. interested, just sent me a note.
  1443.  
  1444. Under the same restrictions, the MuGuardianAngel sources are available.
  1445.  
  1446.  
  1447.  
  1448. What about joining the mmu.library development group? This is just a couple
  1449. of people contributing to this library by writing code and exchanging their
  1450. wisdom by EMail. It's a non-profit organization that works on the development
  1451. of this library. If, whenever, this library becomes a commercial product, 
  1452. you'll get paid, of course. However, the current library, as it is, is planned
  1453. to be freeware, so don't expect money. It doesn't look like there's currently
  1454. a market for this library project, unfortunately. 
  1455.  
  1456. Contact me at thor@math.tu-berlin.de if you want to join this group.
  1457.  
  1458.  
  1459. What can be done just now is to run this library on your machine and find
  1460. and correct bugs. As I said, I haven't tested the 68851 and the 68060
  1461. parts at all. 
  1462.  
  1463. You might also want to develop software for the library. You find the
  1464. required includes and autodocs within this archive, as well as example
  1465. sources. In case you need support, just contact me.
  1466.  
  1467. There are a lot of library functions that require a bit more testing:
  1468.  
  1469. - All the functions that bypass the abstraction layer:
  1470.  
  1471.     GetPageProperties(),SetPageProperties(),PhysicalPageLocation()
  1472.  
  1473. - Remapping of memory and adding this memory to the exec memory pool.
  1474. - Building private contexts and swaps of the MMU tables on task swaps.
  1475. - SWITCH and LAUNCH type exception handlers.
  1476.  
  1477. I haven't been able yet to run all required tests, sorry. 
  1478.  
  1479.  
  1480. What is in this distribution:
  1481. -----------------------------
  1482.  
  1483. Autodocs:
  1484.     The preliminary version of the autodocs of the mmu.library and
  1485.     the memory library, as well as a file describing some planned
  1486.     implementation details.
  1487.  
  1488. Include:
  1489.     The includes for a C compiler as well as the ".fd" file for the
  1490.     library functions written so far. 
  1491.  
  1492. C_Sources:
  1493.     C sources of sample programs. All programs that are distributed
  1494.     under the THOR-Software licence are published here. The
  1495.     sources of MuForce *are not* available because they are partially
  1496.     copyrighted by Michael Sinz.
  1497.  
  1498. MuTools:
  1499.     Contains an increasing collection of programs that make use of 
  1500.     the MMU. For details, check their guides in this drawer.
  1501.  
  1502. Shell_Only:
  1503.     A couple of programs that can be run from the shell only, as there
  1504.     are:
  1505.  
  1506.     MMUCacheTest:
  1507.         Reads from HD, partially non-cache aligned to check whether
  1508.         boundary pages of the DMA buffer are correctly marked as non-
  1509.         cacheable. See above for how the test looks like.
  1510.  
  1511.     SCSIDMATest:
  1512.         Checks whether the hard disk driver uses CachePreDMA/CachePostDMA
  1513.         consistently. See above for the test. The source is included.
  1514.  
  1515.     TestMMU:
  1516.         This program is purely for debugging purposes. If you run it,
  1517.         you won't see any specific action. It simply opens the library
  1518.         manually and executes the library init function in the task
  1519.         context of the calling program. Hence, this program can be used
  1520.         to step thru the lib-init function with a standard debugger
  1521.         without the need to catch "ramlib".
  1522.         If you still discover bugs and want to try, then load this
  1523.         program into a debugger of your choice, and step thru it.
  1524.  
  1525.     PrintTTX:
  1526.         Prints the transparent translation registers, without using
  1527.         the library. Sometimes required by me if the library fails
  1528.         completely.
  1529.  
  1530.     ClearTTX:
  1531.         Clears the TTx registers. This is a test whether a certain
  1532.         board making use of an overclocked LC060 runs with a pure
  1533.         MMU setup.
  1534.  
  1535.     PrintBusError:
  1536.         Prints the location of the access error handler. This should
  1537.         point to the library in case it is installed.
  1538.  
  1539.     ResetBusError:
  1540.         Resets the bus error handler (! Not to be confused with the
  1541.         access error, this is something different if the library is
  1542.         running) to its system default. This tool MUST be run very
  1543.         early, with no debuggers active, or the bus error will be
  1544.         completely messed up.
  1545.  
  1546.     MuContextTest:
  1547.         Checks the MMU context switches by installing a task with
  1548.         a private context. The mmu.library has hence to switch 
  1549.         between two different MMU tables. See above for details
  1550.         how to run this test.
  1551.  
  1552.     MuRemapTest:
  1553.         Checks support of remapped memory by device drivers and
  1554.         the remaining system. Must be run with a temporary file
  1555.         on the harddisk to be checked. THIS TEST WON'T RETURN!
  1556.  
  1557.     CheckFPU:
  1558.           This program prints the version number of a 68040 FPU if 
  1559.         one is available. Two versions exist, the V40 "original" 
  1560.         which is very buggy and the V41 "revised" with less bugs. 
  1561.         The 68040.library supports currently both, with lots of 
  1562.         workarounds for the V40. Please contact me in case you 
  1563.         find a V40 edition in your Amiga.
  1564.  
  1565.     
  1566. Known bugs and problems of this implementation:
  1567. -----------------------------------------------
  1568.  
  1569. Things that require testing:
  1570.  
  1571.     - TTx register parsing updated, again. Should work fine with all the
  1572.       printouts I've collected, but you may still want to test it.
  1573.     - 68851 code likely untested, but I'm getting better. 
  1574.       I NEED YOUR HELP!
  1575.     - GetPageProperties/SetPageProperties are likely tested by the
  1576.       MuGuardianAngel program.
  1577.     - Page access exception handlers only likely tested by 
  1578.       MuGuardianAngel.
  1579.  
  1580. Things not yet implemented:
  1581.  
  1582.     - Patches for ppc libraries due to missing support. The
  1583.       ppc.library will remain unsupported, if you're the owner of
  1584.       a PPC board, run WarpOs, which is compatible.
  1585.  
  1586. Things the current design does not allow:
  1587.  
  1588.     - The MAPP_USED and MAPP_MODIFIED flags are not kept consistent
  1589.       by the library except for MAPP_SINGLE pages. I consider this
  1590.       as a minor problem since single page mode is required for
  1591.       virtual memory anyways.
  1592.     - MMU tables using the function codes. The amiga design shouldn't
  1593.       allow this anyways, but I don't know whether there's a board
  1594.       that makes use of them. (Doesn't look like, though).
  1595.     - Boards with two different MMU's on board. I've heard some
  1596.       rumours that there are actually 68040 boards with an additional
  1597.       68851. 
  1598.  
  1599. Debugging:
  1600. ----------
  1601.  
  1602. Yes, that's a problem of its own. Obviously, the MMU library uses some
  1603. "heavy magic" supervisor code which is not available for a standard monitor.
  1604. Even though the DevPac "MonAm" is a nice and powerful debugger, it's not
  1605. powerful enough for these tricks. There's currently - up to my knowledge -
  1606. only one debugger that can do this for you, and that's my own... (-;
  1607.  
  1608. Check the Aminet and my web-page for COP, then read the documentation. If,
  1609. after reading, you STILL want to use it, you're the right guy for this
  1610. job... (-;
  1611. COP might be setup to load the symbols of the library, to help you a bit.
  1612.  
  1613. The latest available version of COP is 1.73. Try to get the latest, if 
  1614. possible.
  1615.  
  1616. Recommended reading:
  1617. --------------------
  1618.  
  1619. The following books are recommended reading:
  1620.  
  1621.  
  1622. Motorola 68030 Enhanced 32-bit Microprocessor User's Manual    
  1623.     MC68030UM/AD Rev.3
  1624.  
  1625. Motorola 68040 User's Manual                    
  1626.     M68040UM/AD Rev.1
  1627.  
  1628. Motorola 68060 User's Manual                    
  1629.     M68060UM/AD Rev.1
  1630.  
  1631. Motorola M68000 Family Programmer's Reference Manual        
  1632.     M68000PM/AD Rev.1
  1633.  
  1634. Amiga Hardware Reference Manual, 3rd ed.
  1635.     Addison-Wesley Publishing Company, Inc.
  1636.     ISBN 0-201-56776-8
  1637.  
  1638. Amiga ROM Kernal Reference Manual, 3rd ed., Volume "Libraries"
  1639.     Addison-Wesley Publising Company, Inc.
  1640.     ISBN 0-201-56774-1
  1641.  
  1642. The Amiga Guru Book, 2nd Ed.
  1643.     Ralph Babel, Taunusstein 1989,1993
  1644.  
  1645. Additional sources:
  1646.     The Amiga Developer CD V1.1 
  1647.  
  1648.     The Enforcer.guide.
  1649.  
  1650.     Michael Sinz's documentation in the AmigaMail, on the DevCD 1.1.
  1651.  
  1652. Final words:
  1653. ------------
  1654.  
  1655. The mmu.library and the memory library will be my last project for the Amiga. 
  1656. It depends a bit on what happens with the Amiga in the next two years whether 
  1657. a PPC version of this library is required or not; hence, after all, this
  1658. can't be much more than a toy project that came several years too late.
  1659.  
  1660. So long,
  1661.     Thomas
  1662.